<%@page import="java.io.PrintWriter"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="parsingPage">
	<table style="width: 800px; height: 700px; border-collapse: collapse; border: 1px solid black;">
		<tr style="height: 40px; border: 1px solid black;" align="center">
			<td colspan="4" align="center">받은 쪽지함</td>
		</tr>
		<tr style="height: 40px; border: 1px solid black;" align="center">
			<td colspan="2" align="center">구희선 님</td>
			<td align="center">쪽지수</td>
			<td align="center">숫자</td>
		</tr>
		<tr style="height: 40px; border: 1px solid black;">
			<td style="width: 5%;" align="center">번호</td>
			<td style="width: 75%;" align="center">제목</td>
			<td style="width: 10%;" align="center">보낸사람</td>
			<td style="width: 10%;" align="center">날짜</td>
		</tr>
		<c:forEach var="message" items="${messageList }">
			<tr style="height: auto;">
				<td style="width: 5%;" align="center">${message.messageNo }</td>
				<td style="width: 75%;" align="center"><a href="javascript:messageView(${message.messageNo });">${message.messageTitle }</a></td>
				<td style="width: 10%;" align="center">${message.memberIdSend }</td>
				<td style="width: 10%;" align="center">${message.inputDate }</td>
			
			</tr>
		</c:forEach>

		<tr style="height: 40px; border: 1px solid black;" align="center">
			<td colspan="4" align="center">${paging }</td>
		</tr>
	</table>
</div>
